import { Config } from '@stencil/core';
import { sass } from '@stencil/sass';

/**
 * stencil编译配置
 */
export const config: Config = {
    namespace: 'ibz-calendar',
    bundles: [
        {
            components: [
                'ibz-calendar',
                'ibz-week-view',
                'ibz-week-day',
                'ibz-week-day-item'
            ]
        }
    ],
    plugins: [
        sass()
    ],
    taskQueue: 'async',
    outputTargets: [
        {
            type: 'dist',
            esmLoaderPath: '../loader'
        },
        {
            type: 'docs-readme'
        },
        {
            type: 'www',
            serviceWorker: null // disable service workers
        }
    ]
};
